package shape1;

public abstract class Shape {
	protected String name;
	
	
	public Shape(String name) {
		super();
		this.name = name;
	}
	
	public String getName() {	//返回名称方法
		return name;
	}
	abstract public double area();//signature 声明抽象方法
}
